package cloud.xlh.dynamic_env_refresh_server.event;



/**
 * Created with IntelliJ IDEA.
 *
 * @ project name : xlh_osms
 * @ Author: XuLeHuang
 * @ Date: 2023/3/15 16:34
 * @ Description:
 */
public interface Subscriber<T extends Event> {
    void onEvent(Event event);
    Class<? extends Event> subscribeType();
}
